<?php
if (!defined('WEB_ROOT')) {
	exit;
}

$self = WEB_ROOT . 'admin/index.php';
?>
<html>
<head>
<title><?php echo $pageTitle; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="<?php echo WEB_ROOT;?>admin/include/admin.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/javascript" src="<?php echo WEB_ROOT;?>library/common.js"></script>
<link media="all" type="text/css" href="/css/base.css" rel="stylesheet">
<link media="all" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.12/themes/base/jquery-ui.css" rel="stylesheet">
<link media="all" type="text/css" href="http://static.jquery.com/ui/css/demo-docs-theme/ui.theme.css" rel="stylesheet">
<script type="text/javascript" src="http://tinymce.moxiecode.com/js/tinymce/jscripts/tiny_mce/tiny_mce.js"></script> 

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.12/jquery-ui.min.js"></script>

<?php
$n = count($script);
for ($i = 0; $i < $n; $i++) {
	if ($script[$i] != '') {
		echo '<script language="JavaScript" type="text/javascript" src="' . WEB_ROOT. 'admin/library/' . $script[$i]. '"></script>';
	}
}
?>
</head>
<body>
<table width="951" border="0" align="center" cellpadding="0" cellspacing="1" class="graybox" bgcolor="#FFFFFF">
  <tr>
    <td  colspan="2" bgcolor="#FFFFFF"><img src="<?php echo WEB_ROOT; ?>admin/include/banner-top7.png"></td>
  </tr>
  <tr>
    <td width="180" valign="top" class="navArea"><p>&nbsp;</p>
      <a href="<?php echo WEB_ROOT; ?>admin/" class="leftnav">Trang chủ</a> 
	  <a href="<?php echo WEB_ROOT; ?>admin/" class="leftnav">Quản lý danh mục</a>
			<a href="<?php echo WEB_ROOT; ?>admin/nhom_tac_gia/" class="leftnav_con">- Nhóm nghiên cứu (17)</a>
			<a href="<?php echo WEB_ROOT; ?>admin/tac_gia/" class="leftnav_con">- Tác giả (1000)</a>
			<a href="<?php echo WEB_ROOT; ?>admin/nhom_de_tai/" class="leftnav_con">- Nhóm ngành(40)</a>
		
	  <a href="<?php echo WEB_ROOT; ?>admin/" class="leftnav">Quản lý công trình NCKH</a> 
			<a href="<?php echo WEB_ROOT; ?>admin/de_tai_nckh/" class="leftnav_con">- Đề tài NCKH(17)</a>
			<a href="<?php echo WEB_ROOT; ?>admin/bai_bao/" class="leftnav_con">- Bài báo (1000)</a>
			<a href="<?php echo WEB_ROOT; ?>admin/seminar/" class="leftnav_con">- Seminar(40)</a>
			<a href="<?php echo WEB_ROOT; ?>admin/tin_tuc/" class="leftnav_con">- Tin tức</a>
	
	  <a href="<?php echo WEB_ROOT; ?>admin/order/?status=Paid" class="leftnav">Thống kê - Báo cáo</a> 

	  <a href="<?php echo WEB_ROOT; ?>admin/user/" class="leftnav">Quản lý người sử dụng</a> 
	  <a href="<?php echo WEB_ROOT; ?>admin/user/" class="leftnav">Sao lưu dữ liệu</a> 
	  <a href="<?php echo $self; ?>?logout" class="leftnav">Thoát</a>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p></td>
    <td width="771" valign="top" class="contentArea"><table width="100%" border="0" cellspacing="0" cellpadding="20">
        <tr>
          <td>
<?php
require_once $content;	 
?>
          </td>
        </tr>
      </table></td>
  </tr>
</table>
<p>&nbsp;</p>
<p align="center">Copyright &copy; 2011 - <?php echo date('Y'); ?> <a href=""> Phòng khoa học công nghệ, hợp tác và sau đại học</a></p>
</body>
</html>
